<include file="Public:header" />
<include file="Public:leftside" />
<div class="main-content">
    <div class="breadcrumbs breadcrumbs-fixed" id="breadcrumbs">
        <ul class="breadcrumb">
            <li><i class="icon-home home-icon"></i><a href="/">首页</a> </li>
            <li class="active">分类管理</li>
        </ul>
    </div>
    <div class="page-content">
       
        	<section class="panel-default m-b-sm" style="margin:5px 0;">
				<div class="alert alert-info">
					<p>
	                  <i class="fa fa-hand-o-right m-r-xs"></i><strong>操作提示</strong>
	                </p>
                    <p class="alert-p m-l-xl"><i class="fa fa-caret-right m-r-xs"></i>该页面展示了商城店铺所有的分类信息，可对分类进行编辑修改操作。</p>
                </div>
			</section>
           <div class="row padder-v">
				<div class="col-sm-1">
					<a href="{:U('Store/store_classificationadd')}" class="btn btn-sm btn-primary"><i class="fa fa-plus"></i> 添加分类 </a> 
				</div>
			</div>

		<table id="sample-table-1" class="table table-striped table-bordered table-hover">
			<thead>
				<tr>
					<th width="50">ID</th>
					<th>分类名称</th>
					<th>排序</th>
					<th width="250">操作</th>
				</tr>
			</thead>
			<tbody>
				<volist name="store_classifications" id="row">
				
					<tr class="list" >
						<td>{$row['id']}</td>
						<td style="font-weight:bold;">{$row['classification']}</td>						
						<td>{$row.sort}</td>
						<td><a href="{:U('Store/store_classificationadd',array('id'=>$row['id']))}">编辑</a>
							|
							<a href="javascript:if(confirm('确实要删除吗?'))location='{:U('Store/store_classificationdel',array('id'=>$row['id']))}'" >删除</a>
						</td>
					</tr>
				</volist>
			</tbody>
		</table>
		<div>{$page} </div>
    </div>
</div>

<include file="Public:footer" />
